<template>
  <el-config-provider :size="size" :z-index="zIndex" :locale="locale">
    <router-view />
  </el-config-provider>
</template>

<script>
import { defineComponent } from 'vue';
import { ElConfigProvider } from 'element-plus';
import zhTw from 'element-plus/es/locale/lang/zh-tw';

export default defineComponent({
  components: {
    ElConfigProvider
  },
  data () {
    return {
      locale: zhTw,
      zIndex: 3000,
      size: 'default'
    };
  },
  mounted () {

  },
  methods: {

  }
});
</script>

<style lang="scss">
@import url('@/styles/custom.scss');

html,
body,
#app {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

.app-container {
  flex: 1;
  overflow-x: scroll;
  // flex-shrink: 0
}

.dialoghdcell {
  padding: 12px 10px !important;
  color: #3e4366;
  background-color: #eeeeee !important;
}

.hdcell {
  padding: 18px 10px !important;
  color: #3e4366;
  background-color: #eeeeee !important;
}

.dialogtbcell {
  padding: 12px 10px !important;
  color: #3e4366;
}

.tbcell {
  padding: 18px 10px !important;
  color: #3e4366;
}
</style>
<style scoped lang="scss">
:deep(.el-select--large .el-select__wrapper) {
  min-height: 43px;
  padding: 0px 16px;
}

:deep(.el-select) {
  --el-select-input-focus-border-color: transparent;
}

:deep(.el-select__wrapper.is-focused) {
  box-shadow: 0 0 5px rgba($color: #3a3f63, $alpha: 0.2);
}

:deep(.el-select__wrapper.is-hovering:not(.is-focused)) {
  box-shadow: 0 0 5px rgba($color: #3a3f63, $alpha: 0.2);
}

:deep(.el-select__wrapper) {
  box-shadow: 0 0 5px rgba($color: #3a3f63, $alpha: 0.2);
  border-radius: 10px;

}


:deep(.el-form-item__label-wrap) {
  align-items: center;
}

:deep(.el-input__wrapper) {
  border-radius: 5px 5px !important;
  // padding: 6px 11px;
  height: 43px;
  box-shadow: none;
  // box-shadow: 0 0 5px rgba($color: #3a3f63, $alpha: 0.2);
  border: 1px solid #ecf0f5;
}

:deep(.el-input__wrapper.is-focus) {
  box-shadow: none;
  border: 1px solid #ecf0f5;
}

:deep(.el-input__wrapper:hover) {
  // box-shadow: 0 0 5px rgba($color: #3a3f63, $alpha: 0.2);
  box-shadow: none;
  border: 1px solid #ecf0f5;
}

:deep(.el-input.is-disabled .el-input__wrapper) {
  background-color: #f3f3f3;
  // border: 1px solid #dbe2ed;
  overflow: hidden;
  padding: 5px 11px;
  // box-shadow: none;
}

:deep(.el-radio) {
  --el-radio-input-border-color-hover: #3a3f63;
}

:deep(.el-radio__input.is-checked .el-radio__inner) {
  background: #3a3f63;
  border-color: #3a3f63;
}

:deep(.el-radio__input.is-checked+.el-radio__label) {
  color: #3a3f63;
}

:deep(.el-dialog__title) {
  color: #3a3f63;
  font-weight: bold;
}

:deep(.el-dialog) {
  --el-dialog-border-radius: 15px;
  padding: 16px 0px;
}

:deep(.el-dialog__header) {
  border-bottom: 1px solid #eeeeee;
  padding: 0px 16px 16px 16px;
}

:deep(.el-checkbox__input.is-checked .el-checkbox__inner) {
  background-color: #3a3f63;
  border-color: #3a3f63;
}

:deep(.el-checkbox__input.is-indeterminate .el-checkbox__inner) {
  background-color: #3a3f63;
  border-color: #3a3f63;
}

:deep(.el-tag.el-tag--primary) {
  --el-tag-bg-color: #3a3f63;
  --el-tag-border-color: #3a3f63;
  --el-tag-hover-color: #3a3f63;
  --el-tag-text-color: #ffffff;
}

:deep(.el-input__inner:focus) {
  border: none !important;
  outline: none;
}

:deep(.el-input__inner:hover) {
  border: none !important;
  outline: none;
}

:deep(.el-input) {
  box-shadow: 0 0 5px rgba($color: #3a3f63, $alpha: 0.2);
  // box-shadow: none;
  // --el-input-border-color: transparent;
  --el-input-focus-border-color: transparent;
  --el-input-hover-border-color: transparent;
  --el-input-focus-border: transparent;
}

:deep(.el-pagination.is-background .el-pager li.is-active) {
  background-color: #3a3f63;
}

:deep(.el-pagination.is-background .el-pager li) {
  background-color: transparent;
  border: 1px solid #eeeeee;
}

:deep(.el-pager li) {
  border-radius: 8px;
  min-width: 45px;
}

:deep(.el-pagination button) {
  border-radius: 8px;
  padding: 0px 10px;
}



:deep(.el-pagination.is-background .btn-prev) {
  background-color: transparent;
  border: 1px solid #eeeeee;
}

:deep(.el-pagination.is-background .btn-next) {
  background-color: transparent;
  border: 1px solid #eeeeee;
}

:deep(.el-pagination .el-input__wrapper) {
  border: none;
  padding: 0px 11px !important;
  height: auto;
}

/* :deep(.el-input__inner::placeholder) {
  color: #8b94c0
} */
:deep(.el-date-editor.el-input) {
  height: 43px;
  // padding: 6px 10px;
}

:deep(.el-date-editor) {
  border-radius: 10px;
  width: 280px;
  overflow: hidden;
  --el-date-editor-width: 280px;
  // box-shadow: 0 0 5px rgba($color: #3a3f63, $alpha: 0.2);
}

:deep(.el-date-editor .el-input__wrapper) {
  // height: 45px;
  border: none !important;
}

:deep(.el-menu) {
  --el-menu-bg-color: #3a3f63 !important;
  --el-menu-hover-bg-color: #0e122e !important;
}
</style>
